<?php

namespace haibao\cms\business;

use \haibao\cms\data\articleproperty as ArticlePropertyData;

class ArticleProperty extends \haibao\cms\business\Base{
    
    public static function getArticleCommentNum($articlePropertyFilter,$isGetOne = false){
        $articlePropertyData = new ArticlePropertyData();
        if($isGetOne){
        	return $articlePropertyData->getOne($articlePropertyFilter);
        }else{
        	return $articlePropertyData->getAll($articlePropertyFilter);
        }
    }
}

